// Capitalist City - Business Simulation Game
// Copyright (C) 2011 Azlan Mukhtar
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

#ifndef FIRM_H
#define FIRM_H
#include <QtCore>

struct Firm
{
    quint32     firmId;
    quint8      firmCompanyId;
    quint16     cityId;
    bool        isForSell;
    quint64     salesRevenue;
    quint64     salesRevenueLastMonth;
    quint64     salesRevenueYTD;
    quint64     purchaseCost;
    quint64     purchaseCostLastMonth;
    quint64     purchaseCostYTD;
    quint64     freightCost;
    quint64     freightCostLastMonth;
    quint64     freightCostYTD;
    quint64     salariesExpense;
    quint64     salariesExpenseLastMonth;
    quint64     salariesExpenseYTD;
    quint64     operatingOverhead;
    quint64     operatingOverheadLastMonth;
    quint64     operatingOverheadYTD;
    quint64     advertising;
    quint64     advertisingLastMonth;
    quint64     advertisingYTD;
    quint64     trainingEquipment;
    quint64     trainingEquipmentLastMonth;
    quint64     trainingEquipmentYTD;
    quint64     writeOffs;
    quint64     writeOffsLastMonth;
    quint64     writeOffsYTD;
    quint64     operatingExpense;
    quint64     operatingExpenseLastMonth;
    quint64     operatingExpenseYTD;
    quint64     operatingProfit;
    quint64     operatingProfitLastMonth;
    quint64     operatingProfitYTD;

};

#endif // FIRM_H

